package com.lagou.service;

import com.lagou.pojo.AuthCode;

public interface CodeService {
    /**
     * 发送验证码
     * @param email
     */
    public String sendCode(String email);

    /**
     * 根据email和code查询AuthCode
     * @param email
     */
    public AuthCode getAuthCodeByEmailAndCode(String email, String code);
}
